package day0219;

import java.util.Scanner;

public class F11 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        for (int i = 0; i < 15; i++) {
            int num1 = (int) (Math.random() * 10)+1;
            int num2 = (int) (Math.random() * 10)+1;
            System.out.print(num1 + "*" + num2 + "=");
            int answer = s.nextInt();
            if (num1 * num2 == answer) {
                System.out.println("√");
            } else {
                System.out.println("×,正确答案：" + num1 * num2);
            }
        }
    }

}

